package com.chinasoft.ecommerceconsumptionanalysissystem.controller.requestbody;

public class RepurchaseRateParam {
    private Long productId;    // 商品ID
    private String startDate;  // 开始日期（yyyy-MM-dd）
    private String endDate;    // 结束日期（yyyy-MM-dd）

    public RepurchaseRateParam(Long productId, String startDate, String endDate) {
        this.productId = productId;
        this.startDate = startDate;
        this.endDate = endDate;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "RepurchaseRateParam{" +
                "productId=" + productId +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                '}';
    }
}
